﻿<!DOCTYPE html>
<html>
<head>
    <title>Mocha</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="mocha.css" />
</head>
<body>
    <div id="mocha"></div>

    <script src="Mocha.js"></script>
    <script src="../../scripts/chai.js"></script>
    <script> mocha.setup('bdd');</script>
    <script src="../../scripts/3.x/TypeScript/CrmRestKit.umd.js"></script>

    <script>

        describe('Test', function () {
            it('CrmRestKit', function() {
                chai.expect(CrmRestKit).to.be.an('object');
                chai.expect(CrmRestKit)
                    .to.have.a.property('version')
                    .to.be.a('function');
            });
        });

        mocha.run();
    </script>
</body>
</html>
